<?php
session_start();
if ($_SESSION['sesId'] && $_SESSION['nempploy'] && $_SESSION['pasemp']){	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<LINK REL="stylesheet" TYPE="text/css" HREF="./templates/estilos.css">
<link rel="shortcut icon" href="ico/coppel.ico" >
<title>Sistemas</title>
</head>


<SCRIPT language="javascript" src="./templates/script.js" type="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
	function salida(){
		alert("salida");
	};
	
	
</SCRIPT>
<script language="JavaScript">
	<!--
	setInterval("defaultStatus = ' Sistemas '",1000);
	//-->
</script>
<body onunload='history.go(1)'>
<iframe src="contenido.php" name="mainFrame" id="mainFrame" title="mainFrame" frameborder='0' width='100%' height='100%' />
</body>
</html>

<?php }else{
	header('Location: cerrar_sesion.php');
}?>
